/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.lotus.tep.ui;

import com.lotus.tep.constant.SpeechControlPanelFrameConstant;
import javax.swing.JInternalFrame;

/**
 *
 * @author arvind.sharma
 */
public class SpeechControlPanelFrame extends JInternalFrame {

	public SpeechControlPanelFrame() {
		super(SpeechControlPanelFrameConstant.TITLE, SpeechControlPanelFrameConstant.RESIZABLE, SpeechControlPanelFrameConstant.CLOSEABLE, SpeechControlPanelFrameConstant.MAXIMIZABLE, SpeechControlPanelFrameConstant.ICONABLE);
	}

	@Override
	public int getLayer() {
		return SpeechControlPanelFrameConstant.LAYER_INDEX;
	}

	public void build() {
		setBounds(SpeechControlPanelFrameConstant.X, SpeechControlPanelFrameConstant.Y, SpeechControlPanelFrameConstant.WIDTH, SpeechControlPanelFrameConstant.HEIGHT);
		setVisible(SpeechControlPanelFrameConstant.VISIBLE);
	}
}
